Skip to content

Refactored Windows-specific code#539

Merged
hugtalbot merged 1 commit intosofa-framework:masterfrom
alxbilger:refactorwin
Oct 17, 2025
Merged

Refactored Windows-specific code#539
hugtalbot merged 1 commit intosofa-framework:masterfrom
alxbilger:refactorwin

Conversation

@alxbilger
Copy link
Contributor

Refactored Windows-specific code under if sofa_root and sys.platform == 'win32' to improve readability and robustness. Added helper functions to reduce duplication and handle missing SOFAPYTHON3_ROOT safely. Maintained existing behavior while preventing potential crashes and improving compatibility.

… == 'win32'` to improve readability and robustness. Added helper functions to reduce duplication and handle missing SOFAPYTHON3_ROOT safely. Maintained existing behavior while preventing potential crashes and improving compatibility.
@hugtalbot hugtalbot merged commit 9b244d4 into sofa-framework:master Oct 17, 2025
4 checks passed
RafaelPalomar pushed a commit to Slicer/SofaPython3 that referenced this pull request Jan 28, 2026
… == 'win32'` to improve readability and robustness. Added helper functions to reduce duplication and handle missing SOFAPYTHON3_ROOT safely. Maintained existing behavior while preventing potential crashes and improving compatibility. (sofa-framework#539)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants